package com.fgxia.user.domain.vo;

import com.ruoyi.common.annotation.Translation;
import com.ruoyi.common.constant.TransConstant;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * order detail vo
 *
 * @author yyt
 */
@Data
public class FrightDetailVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 运单 id
     */
    private Long freightId;

    /**
     * 运单号
     */
    private String code;

    /**
     * 运单状态
     */
    private String freightStatus;

    /**
     * 签收时间 = 到货时间
     */
    private Date receivingTimeDay;

    /**
     * 寄件人市
     */
    private Long sendCity;

    @Translation(type = TransConstant.AREA_ID_TO_NAME, mapper = "sendCity")
    private String sendCityLabel;

    /**
     * 收件人市
     */
    private Long receiverCity;

    @Translation(type = TransConstant.AREA_ID_TO_NAME, mapper = "receiverCity")
    private String receiverCityLabel;

    /**
     * 收件人经度
     */
    private String receiverLongitude;

    /**
     * 收件人纬度
     */
    private String receiverLatitude;

    /**
     * 提货货物照
     */
    private String loadingGoodsUrl01;

    /**
     * 提货货物照
     */
    private String loadingGoodsUrl02;

    /**
     * 提货货物照
     */
    private String loadingGoodsUrl03;

    /**
     * 卸货货物照
     */
    private String receivingGoodsUrl01;

    /**
     * 卸货货物照
     */
    private String receivingGoodsUrl02;

    /**
     * 卸货货物照
     */
    private String receivingGoodsUrl03;

    /**
     * 轨迹
     */
    private List<UserFreightVehicleTrailVo> freightVehicleTrailVos;
}
